/*
 * @Author: wuqiang
 * @Date: 2021-03-11 13:43:21
 * @LastEditors: wuqiang
 * @LastEditTime: 2023-11-16 03:02:24
 */
export const PROJECT_NAME = 'react-cli'

export const LOGIN = 'LOGIN'
export const LOGOUT = 'LOGOUT'
export const SET_USER_INFO = 'SET_USER_INFO'

// 保险责任
export const REPOSOBILITY = [
  { value: 1, label: '恶性肿瘤特药保险金' },
  { value: 2, label: '重大疾病一次性给付金(5万/10万)' },
  { value: 3, label: '恶性肿瘤特需责任' }
]

export const RELATIONS = {
  '本人': 10,
  '配偶': 20,
  '子女': 30,
  '父母': 40,
};


/*
 * @Author: your name
 * @Date: 2021-09-10 16:08:35
 * @LastEditTime: 2023-02-12 16:12:58
 * @LastEditors: wuqiang
 * @Description: In User Settings Edit
 * @FilePath: /yihaojinyuan_min/Users/wuqiang/workspace/huijun-frontend/src/constants/index.ts
 */
export const SET_BLUE_CARD = 'SAVE_BLUE_CARD'
export const SET_DEVICE_INFOR = 'SET_DEVICE_INFOR'
export const SET_ACTIVATE = 'SET_ACTIVATE'
export const SET_GUARD_CARD = 'SET_GUARD_CARD'
export const SET_MEMBER_SHIP = 'SET_MEMBER_SHIP'

export const EMAIL_REGEXP = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
export const IDCARD_REGEXP = /^([1-6][1-9]|50)\d{4}(18|19|20)\d{2}((0[1-9])|10|11|12)(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/;
export const PHONE_REGEXP = /^1[3-9]\d{9}$/;

